package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter
@Getter
public class ExpAccountFlow extends BaseDomain {
    /**
     * 流水类型
     */
    private Integer actionType;
    /**
     * 交易金额
     */
    private BigDecimal amount;
    /**
     * 说明
     */
    private String note;
    /**
     * 交易之后的体验余额
     */
    private BigDecimal usableAmount;
    /**
     * 交易之后的体验金账户冻结金额
     */
    private BigDecimal freezedAmount;
    /**
     * 交易时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actionTime;
    /**
     * 体验金账户
     */
    private Long expAccountId;

}